package cn.aiyuan.entity.operationLog;

import cn.aiyuan.entity.base.LogEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @className ExceptionLog
 * @since 2020-09-29 11:13
 */
@TableName("operation_log")
@EqualsAndHashCode(callSuper = false)
@Data
public class OperationLogVO extends LogEntity implements Serializable {

	private static final long serialVersionUID = -6009404539042457921L;

	@ApiModelProperty(name = "mod", value = "操作模块")
	@JsonProperty("mod")
	private String module;

	@ApiModelProperty(name = "ty", value = "操作类型")
	@JsonProperty("ty")
	private String type;

	@ApiModelProperty(name = "description", value = "操作描述")
	@JsonProperty("description")
	private String description;

	@ApiModelProperty(name = "res", value = "返回结果")
	@JsonProperty("res")
	private String respContent;

}
